#ifndef TINYTEST_H
#define TINYTEST_H

#include<string>
#include<map>
#include<vector>

#define IF 258
#define THEN 259
#define ELSE 260
#define END 261
#define UNTIL 262
#define READ 263
#define WRITE 264
#define ID 265
#define NUMBER 266
#define ASSIGN 267
#define EQ 268
#define LT 269
#define GT 270
#define PLUS 271
#define MINUS 272
#define TIMES 273
#define OVER 274
#define LPAREN 275
#define RPAREN 276
#define SEMI 277
#define ERROR 278


typedef union YYSTYPE
{
    bool boolean;
    int num;
    int str_id;
    int error_id;
}YYSTYPE;

extern std::vector<std::string> string_table;
extern std::map<std::string, int> string_map;

#endif /* TINYTEST_H */